﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="LASDesktop.ModuloInventario.VisorDeArticulos"
        Title="Window1" Height="450" Width="830" AllowsTransparency="True" WindowStyle="None" Background="{x:Null}" WindowStartupLocation="CenterScreen">
    <Window.Resources>
        <Style TargetType="{x:Type Button}">
            <Setter Property="SnapsToDevicePixels" Value="true"/>
            <Setter Property="OverridesDefaultStyle" Value="true"/>
            <Setter Property="MinHeight" Value="23"/>
            <Setter Property="MinWidth" Value="75"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type Button}">
                        <Border 
			        x:Name="Border"  
			        CornerRadius="2" 
			        BorderThickness="1"
			        Background="#FF0384C5"
			        BorderBrush="#FF0384C5">
                            <ContentPresenter 
			          Margin="2"
			          HorizontalAlignment="Center"
			          VerticalAlignment="Center"
			          RecognizesAccessKey="True"/>
                        </Border>
                        <ControlTemplate.Triggers>
                            <Trigger Property="IsKeyboardFocused" Value="true">
                                <Setter TargetName="Border" Property="BorderBrush" Value="#FF0384C5" />
                            </Trigger>
                            <Trigger Property="IsDefaulted" Value="true">
                                <Setter TargetName="Border" Property="BorderBrush" Value="#FF0384C5" />
                            </Trigger>
                            <Trigger Property="IsMouseOver" Value="true">
                                <Setter TargetName="Border" Property="Background" Value="#FF0384C5" />
                            </Trigger>
                            <Trigger Property="IsPressed" Value="true">
                                <Setter TargetName="Border" Property="Background" Value="#FF0384C5" />
                                <Setter TargetName="Border" Property="BorderBrush" Value="#FF0384C5" />
                            </Trigger>
                            <Trigger Property="IsEnabled" Value="false">
                                <Setter TargetName="Border" Property="Background" Value="#FF0384C5" />
                                <Setter TargetName="Border" Property="BorderBrush" Value="#FF0384C5" />
                                <Setter Property="Foreground" Value="#888888"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
    </Window.Resources>

        <Grid>
			
		<Rectangle Fill="#FFBCBCBC" RadiusX="20" RadiusY="20" Margin="8" Stroke="#FF515454" StrokeThickness="3" d:IsLocked="True" />
		
		<Label Content="Por favor ingrese los datos para ingresar un nuevo artículo:" FontFamily="../Fonts/GeosansLight.ttf#GeosansLight" FontSize="22" Height="36" Margin="32.5,35,275,0" x:Name="Introduction" VerticalAlignment="Top" d:LayoutOverrides="Height" />
		<StackPanel Height="313" HorizontalAlignment="Left" Margin="37,93,0,0" x:Name="stackPanel1" VerticalAlignment="Top" Width="378" Orientation="Horizontal" d:LayoutOverrides="HorizontalAlignment">
			<StackPanel Height="313" x:Name="stackPanel2" Width="177.5">
				<Border BorderThickness="1" Height="39" x:Name="border1" Width="214">
					<Label Content="Código:" Height="36" x:Name="label2" Width="202" FontFamily="../Fonts/GeosansLight.ttf#GeosansLight" FontSize="22" Margin="-1,-1,11,2" />
				</Border>
				<Border BorderThickness="1" Height="39" Width="200">
					<Label Content="Descripción:" Height="36"  Width="200" FontFamily="../Fonts/GeosansLight.ttf#GeosansLight" FontSize="22" Margin="-1,0.5" />
				</Border>
				<Border BorderThickness="1" Height="39" Width="200"/>
				<Border BorderThickness="1" Height="39"  Width="209">
					<Label Content="Unidad de Medida:" Height="36"  Width="200" FontFamily="../Fonts/GeosansLight.ttf#GeosansLight" FontSize="22" BorderBrush="{x:Null}" Margin="-1,2,8,-1" />
				</Border>
				<Border BorderBrush="{x:Null}" BorderThickness="1" Height="39" Width="200">
					<Label Content="Comentarios:" Height="36"  Width="200" FontFamily="../Fonts/GeosansLight.ttf#GeosansLight" FontSize="22" />
				</Border>
				<Border BorderBrush="{x:Null}" BorderThickness="1" Height="39" Width="200"/>
			</StackPanel>
			<StackPanel Height="314" x:Name="stackPanel3" Width="191" Orientation="Vertical">
				<Border BorderBrush="{x:Null}" BorderThickness="1" Height="39" Width="199">
					<TextBox Height="23" x:Name="InputCode" Width="168" />
				</Border>
				<Border BorderThickness="1" Height="77" Width="199">
					<TextBox Height="62"  Width="168" Name="InputDescription" TextWrapping="WrapWithOverflow" />
				</Border>
				<Border BorderBrush="{x:Null}" BorderThickness="1" Height="39" x:Name="border3" Width="198">
                    <ComboBox Height="23" x:Name="InputMeasurementUnit" Width="166" Margin="15,6,15,8"  />
				</Border>
				<Border BorderThickness="1" Height="77" Width="199" Margin="0,0,-8,0">
					<TextBox Height="62" Width="168" x:Name="InputComments" Margin="0" TextWrapping="WrapWithOverflow" />
				</Border>
			</StackPanel>
		</StackPanel>
		<Label Content="Fotografías:" FontFamily="../Fonts/GeosansLight.ttf#GeosansLight" FontSize="22" Height="36" Width="200" Margin="0,93,185.5,0" VerticalAlignment="Top" d:LayoutOverrides="Width, Height" HorizontalAlignment="Right" />
		<Path Data="M421,60 L421,401.22" Fill="Black" HorizontalAlignment="Right" Margin="0,93,408.5,110.5" Stretch="Fill" Stroke="Black" Width="0.5"/>
		<Image x:Name="CurrentImage" HorizontalAlignment="Right" Margin="0,151.5,137.5,148.5" Width="150" Source="..\Graphics\ImageError.png" Height="150"/>
		<Button Height="57.22" Margin="0,370.78,28.5,0" x:Name="SubmitButton" VerticalAlignment="Top" Background="#FF0384C5" HorizontalAlignment="Right" Width="226.5" FontFamily="/LASDesktop;component/Fonts/#GeosansLight" FontSize="21.333" BorderBrush="{x:Null}" Foreground="White" Clip="M5.5,27.5 C5.5,16.454305 14.454305,7.5 25.5,7.5 L200,7.5 C211.04569,7.5 220,16.454305 220,27.5 L220,30.72 C220,41.765695 211.04569,50.72 200,50.72 L25.5,50.72 C14.454305,50.72 5.5,41.765695 5.5,30.72 z" Cursor="Hand" Click="SubmitButtonClick" />
		<Image HorizontalAlignment="Right"  Margin="0,20,28.5,0" VerticalAlignment="Top"  Source="/LASDesktop;component/Graphics/Exit.png" Stretch="UniformToFill" Width="30" Height="30" Opacity="0.665" MouseLeftButtonUp="Close"/>
		<Image HorizontalAlignment="Right" Margin="0,127.5,165.5,0" Source="/LASDesktop;component/Graphics/add.png" Stretch="Fill" Width="20" Height="20" VerticalAlignment="Top" Name="AddButton" MouseDown="AddClick" Cursor="Hand" />
		<Image HorizontalAlignment="Right" Margin="0,128.5,137.5,0" Source="/LASDesktop;component/Graphics/delete.png" Stretch="Fill" Width="20" Height="20" VerticalAlignment="Top" Name="DeleteButton" Cursor="Hand" MouseUp="DeleteButton_MouseUp" />
		<Image HorizontalAlignment="Left" Height="25" Margin="552,0,0,115.5" Source="/LASDesktop;component/Graphics/left.png" Stretch="Fill" VerticalAlignment="Bottom" Width="25" Name="LeftButton" MouseDown="LeftClick" Cursor="Hand" />
		<Image HorizontalAlignment="Right" Height="25" Margin="0,0,145,115.5" Source="/LASDesktop;component/Graphics/right.png" Stretch="Fill" VerticalAlignment="Bottom" Width="25" Name="RightButton" MouseDown="RightClick" Cursor="Hand" />
		<TextBlock Text="0/0" FontFamily="../Fonts/GeosansLight.ttf#GeosansLight" FontSize="18.667" Height="36" Width="75" Margin="0,0,174,104.5" VerticalAlignment="Bottom" HorizontalAlignment="Right" d:LayoutOverrides="Height" TextAlignment="Center" Name="ImageCountText" />
			
	</Grid>
</Window>
